package com.lakeworks.common.domain.ticket;

import com.lakeworks.common.domain.base.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * 工单对象 tkt_ticket_file
 *
 * @author lake
 * @date 2023-07-18
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TktTicketFile extends BaseDomain {
    private static final long serialVersionUID = 1L;

    /**
     * 工单id
     */
    private Long TicketId;

    /**
     * 过程id
     */
    private Long processId;

    /**
     * 文件路径
     */
    @NotBlank(message = "文件路径不能为空")
    private String fileUrl;

    /**
     * 文件类型
     */
    @NotBlank(message = "文件类型不能为空")
    private String fileType;

    /**
     * 备注
     */
    @NotBlank(message = "备注不能为空")
    private String remark;


}
